package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.WorkOrder;
import cn.stylefeng.guns.sys.modular.system.model.params.WorkOrderParam;
import cn.stylefeng.guns.sys.modular.system.model.result.WorkOrderResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WorkOrderMapper extends BaseMapper<WorkOrder> {

    Page<WorkOrderResult> customPageList(@Param("page") Page pageContext, @Param("param") WorkOrderParam param);

    void insert(WorkOrderParam param);

    List<Map> getUserList();

    void delete(WorkOrderParam param);
}
